package com.yudean.esb.mapper.mds;

import com.yudean.esb.domain.mds.MdsIntIndex;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;
import java.util.List;

@Mapper
@Transactional
public interface MdsIntIndexMapper {
    List<MdsIntIndex> getMdsIntIndexByPeriodDate(@Param("periodDate") Date periodDate, @Param("compCode") String compCode);

    List<MdsIntIndex> getMdsIntIndexByPeriod(@Param("periodStartDate") Date periodStartDate,
                                             @Param("periodEndDate") Date periodEndDate,
                                             @Param("periodType") String periodType,
                                             @Param("compCode") String compCode);
}
